package com.bjsxt.enums;

import com.bjsxt.common.BaseErrorInfo;

public enum UserInfoEnum implements BaseErrorInfo {

    // 数据操作错误定义
    USER_NAME_BLANK("USER_NAME_BLANK", "新增用户时,用户姓名不能为空！");

    /**
     * 错误码
     */
    private final String resultCode;

    /**
     * 错误描述
     */
    private final String resultMsg;

    UserInfoEnum(String resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }

}
